(prompt "Destination directory for AmiCAD\nwill be "@default-dest)
(choices "Continue" "Stop")
(help "If the specified directory doesn't agree, choose 'Stop': you'll have to restart this installer script and choose another directory for destination.")
))
(exit (quiet))
)
(makedir (tackon @default-dest "Library"))
(makedir (tackon @default-dest "Sheets") (infos))
(makedir (tackon @default-dest "Clips"))
(makedir (tackon @default-dest "ARexx"))
(copyfiles
(source "")
(dest @default-dest)
(pattern "AmiCAD#?")
(prompt "Choose the files you want to copy")
(help (cat "Select the files you want to copy, only the marked files will be copied.\nAmiCAD is the program file.\nAmiCAD.keys is the file where you are stored the definitions of macros keys.\n"
"AmiCAD.prefs is the file where are stored the preferences.\nAmiCAD.palette is a preferences file which contains only a black screen background palette (load it with the Preferences/configuration menu to try it)."))
(prompt "Choose the symbols files to copy\nThe format of this files have changed, so replace your old library files.")
(help "Select the files you want to copy, they are symbols files, AmiCAD use them to draw schematics.")
(confirm)
(infos)
)
(copyfiles
(source "Clips_english")
(dest (tackon @default-dest "Clips"))
(pattern "#?")
(prompt "Choose the clip files to copy")
(help "Select the files you want to copy, they are clip files, defined with AmiCAD.\nThey can be used to draw some current symbols not yet defined in the libraries.\nYou shall be able to define your own clips with AmiCAD.")
(confirm)
(infos)
)
(copyfiles
(source "ARexx_english")
(dest (tackon @default-dest "ARexx"))
(pattern "#?")
(prompt "Choose the ARexx scripts you want to copy\n")
(help "Select the files you want to copy.\nThe contents of this files are macro-commands, they can be used with AmiCAD.")
(confirm)
(infos)
)
(copyfiles
(source "Schémas")
(dest (tackon @default-dest "Sheets"))
(pattern "#?")
(prompt "Choose the sheets files you want to copy\n")
(help "Select the files you want to copy, they are examples files obtained with AmiCAD.")